import cv2

img=cv2.imread(r'E:\python\Lenna_(test_image).png')
cv2.imshow('Hello,world',img)
cv2.waitKey()
cv2.destroyAllWindows()